<%--
  Created by IntelliJ IDEA.
  User: zhou
  Date: 2017/8/31
  Time: 11:01
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@include file="include/taglib.jsp"%>
<!DOCTYPE html>
<html lang="en">
<head>
    <title>首页</title>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <link rel="stylesheet" href="<%=contextPath%>/static/css/bootstrap.min.css" />
    <link rel="stylesheet" href="<%=contextPath%>/static/css/bootstrap-responsive.min.css" />
    <link rel="stylesheet" href="<%=contextPath%>/static/css/matrix-style.css" />
    <link rel="stylesheet" href="<%=contextPath%>/static/css/matrix-media.css" />
    <link href="<%=contextPath%>/static/font-awesome/css/font-awesome.css" rel="stylesheet" />
    <Style>
        #header h1{
            width: 300px;
        }

    </Style>
</head>
<body>
<%@include file="include/header.jsp"%>

<!--start-top-serch-->
<div id="search">
    <input type="text" placeholder="搜索..."/>
    <button type="submit" class="tip-bottom" title="Search"><i class="icon-search icon-white"></i></button>
</div>

<!--close-top-serch-->
<%@include file="include/side.jsp"%>
<!--main-container-part-->
<div id="content">
    <!--breadcrumbs-->
    <div id="content-header">
        <div id="breadcrumb"> <a href="index.html" title="回到首页" class="tip-bottom"><i class="icon-home"></i> 首页</a></div>
    </div>
    <!--End-breadcrumbs-->
    <iframe src="<%=contextPath%>/test/table" id="iframe-main" frameborder='0' style="width:100%;"></iframe>
</div>
<!--end-main-container-part-->


<script src="<%=contextPath%>/static/js/excanvas.min.js"></script>
<script src="<%=contextPath%>/static/js/jquery.min.js"></script>
<script src="<%=contextPath%>/static/js/jquery.ui.custom.js"></script>
<script src="<%=contextPath%>/static/js/bootstrap.min.js"></script>
<script src="<%=contextPath%>/static/js/nicescroll/jquery.nicescroll.min.js"></script>
<script src="<%=contextPath%>/static/js/matrix.js"></script>


<script type="text/javascript">

    //初始化相关元素高度
    function init(){
        $("body").height($(window).height()-80);
        $("#iframe-main").height($(window).height()-90);
        $("#sidebar").height($(window).height()-50);
    }

    $(function(){
        init();
        $(window).resize(function(){
            init();
        });
    });

    // This function is called from the pop-up menus to transfer to
    // a different page. Ignore if the value returned is a null string:
    function goPage (newURL) {
        // if url is empty, skip the menu dividers and reset the menu selection to default
        if (newURL != "") {
            // if url is "-", it is this page -- reset the menu:
            if (newURL == "-" ) {
                resetMenu();
            }
            // else, send page to designated URL
            else {
                document.location.href = newURL;
            }
        }
    }

    // resets the menu selection upon entry to this page:
    function resetMenu() {
        document.gomenu.selector.selectedIndex = 2;
    }

    // uniform使用示例：
    // $.uniform.update($(this).attr("checked", true));

    $('.collapse').collapse()

</script>
</body>
</html>

